import {Component, OnInit} from '@angular/core';
import {TimerService} from "../timer.service";

@Component({
  selector: 'app-myc03-user-register',
  templateUrl: './myc03-user-register.component.html',
  styleUrls: ['./myc03-user-register.component.css'],
  providers: [TimerService]
})
export class Myc03UserRegisterComponent implements OnInit {

  constructor(private timer: TimerService) {
  }

  ngOnInit(): void {
  }

  doRegister() {
    this.timer.start()
    console.log("开始提交注册信息")
    console.log("登录成功")
    this.timer.end("注册")
  }
}
